package com.punch.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.punch.common.dto.system.HonorAdviserDTO;
import com.punch.common.page.PageInfo;
import com.punch.common.query.syste.HonorAdviserQueryInfo;
import com.punch.common.vo.system.HonorAdviserVO;
import com.punch.system.model.HonorAdviser;


/**
 * <p>
 * 名誉顾问表 服务类
 * </p>
 *
 * @author wjj
 * @since 2020-12-14
 */
public interface HonorAdviserService extends IService<HonorAdviser> {

    /**
     * 名誉顾问列表
     *
     * @param queryInfo 查询条件
     * @return PageInfo<HonorAdviserVO>
     */
    PageInfo<HonorAdviserVO> listHonorAdvise(HonorAdviserQueryInfo queryInfo);

    /**
     * 保存名誉顾问
     *
     * @param honorAdviserDTO 提交表单
     * @return id
     */
    Integer saveHonorAdvise(HonorAdviserDTO honorAdviserDTO);

    /**
     * 修改名誉顾问
     *
     * @param honorAdviserDTO 提交表单
     * @return id
     */
    Integer updateHonorAdvise(HonorAdviserDTO honorAdviserDTO);


    /**
     * 名誉顾问详情
     *
     * @param honorAdviserId honorAdviserId
     * @return HonorAdviserVO
     */
    HonorAdviserVO getHonorAdviser(Integer honorAdviserId);

    /**
     * 删除名誉顾问
     *
     * @param honorAdviserId honorAdviserId
     * @return id
     */
    Integer deleteHonorAdviser(Integer honorAdviserId);

    /**
     * 修改名誉顾问状态
     *
     * @param honorAdviserId honorAdviserId
     * @param status         状态 0-不显示 1-显示
     * @return honorAdviserId
     */
    Integer updateHonorAdviserStatus(Integer honorAdviserId, Integer status);
}
